package com.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="PARTITURAAUTOR")
public class PartituraAutor implements Serializable {

	private static final long serialVersionUID = 1L;
	private int idPartitura;
	private int idAutor;
	
	@Id
	@Column(name="IDPARTITURA")
	public int getIdPartitura() {
		return idPartitura;
	}
	public void setIdPartitura(int idPartitura) {
		this.idPartitura = idPartitura;
	}
	@Id
	@Column(name="IDAUTOR")
	public int getIdAutor() {
		return idAutor;
	}
	public void setIdAutor(int idAutor) {
		this.idAutor = idAutor;
	}
}
